package net.runman.core.model;

import java.io.Serializable;
import java.util.Date;


import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 *
 * 
 *
 */
@TableName("t_users")
public class Users implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	/** 主键id */
	@TableId
	private Long id;

	/** 用户邮箱 */
	@TableField(value = "user_email")
	private String userEmail;

	/** 用户密码 */
	@TableField(value = "user_pass")
	private String userPass;

	/** 用户昵称 */
	@TableField(value = "user_nicename")
	private String userNicename;

	/** 用户头像 */
	@TableField(value = "user_avatar")
	private String userAvatar;

	/** 个性签名 */
	@TableField(value = "user_signature")
	private String userSignature;

	/** 用户的网址 */
	@TableField(value = "user_url")
	private String userUrl;

	/** 用户注册时间 */
	@TableField(value = "user_registered")
	private Date userRegistered;

	/** 用户权限|默认：0[可读]vip：1[可读写]admin：2[可读写删除] */
	@TableField(value = "user_permissions")
	private Integer userPermissions;

	/** 用户激活码 */
	@TableField(value = "user_activation_key")
	private String userActivationKey;

	/** 用户状态0：启用1：删除 */
	@TableField(value = "user_status")
	private Integer userStatus;


	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getUserEmail() {
		return this.userEmail;
	}

	public void setUserEmail(String userEmail) {
		this.userEmail = userEmail;
	}

	public String getUserPass() {
		return this.userPass;
	}

	public void setUserPass(String userPass) {
		this.userPass = userPass;
	}

	public String getUserNicename() {
		return this.userNicename;
	}

	public void setUserNicename(String userNicename) {
		this.userNicename = userNicename;
	}

	public String getUserAvatar() {
		return this.userAvatar;
	}

	public void setUserAvatar(String userAvatar) {
		this.userAvatar = userAvatar;
	}

	public String getUserSignature() {
		return this.userSignature;
	}

	public void setUserSignature(String userSignature) {
		this.userSignature = userSignature;
	}

	public String getUserUrl() {
		return this.userUrl;
	}

	public void setUserUrl(String userUrl) {
		this.userUrl = userUrl;
	}

	public Date getUserRegistered() {
		return this.userRegistered;
	}

	public void setUserRegistered(Date userRegistered) {
		this.userRegistered = userRegistered;
	}

	public Integer getUserPermissions() {
		return this.userPermissions;
	}

	public void setUserPermissions(Integer userPermissions) {
		this.userPermissions = userPermissions;
	}

	public String getUserActivationKey() {
		return this.userActivationKey;
	}

	public void setUserActivationKey(String userActivationKey) {
		this.userActivationKey = userActivationKey;
	}

	public Integer getUserStatus() {
		return this.userStatus;
	}

	public void setUserStatus(Integer userStatus) {
		this.userStatus = userStatus;
	}

}
